package com.example.springboot.service;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.Appointment;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IAppointmentService {
    List<Appointment> list();

    PageInfo<Appointment> page(BaseRequest baseRequest);

    void save(Appointment appointment);

    Appointment getById(Integer id);

    void update(Appointment appointment);

    void deleteById(Integer id);

}
